import http from "../index"


//查询出所有分类数据


export function admissionList(param={}){
    return http({
        url: '/admission/list',
        method: 'post',
        data: param,
        params: param,
    })
}


//查询出所有分类数据
export function admissionSave(param={}){
    return http({
        url: '/admission/save',
        method: 'post',
        data: param
    })
}

//查询出所有分类数据
export function admissionLogin(param={}){
    return http({
        url: '/admission/login',
        method: 'post',
        data: param
    })
}


//查询出所有分类数据
export function admissionDetele(param={}){
    return http({
        url: '/admission/delete',
        method: 'post',
        data: param
    })
}

//查询出所有分类数据
export function admissionUpdate(param={}){
    return http({
        url: '/admission/update',
        method: 'post',
        data: param
    })
}


//查询出所有分类数据
export function admissionGetById(param={}){
    return http({
        url: '/admission/getbyid/'+param,
        method: 'get',
        data: param
    })
}

export function admissionDeleteAll(param={}){
    return http({
        url: '/admission/deleteall',
        method: 'get',
        data: param
    })
}